﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core.Entry
{
    public interface IAutoEntryList : IEntryList
    {
        /// <summary>
        /// Allow get or set (once only)  entry filters and option filters using a filter string, 
        /// </summary>
        string EntryFilterString { get; set; }

        /// <summary>
        /// Start or restart a search.
        /// </summary>
        /// <returns></returns>
        Task SearchAsync(ParameterDic parameters = null);
    }

    public interface ICustomEntryList : IEntryList
    {
        bool IsAttached { get; }
    }
}
